package cn.hadron.ssh.service;
import cn.hadron.ssh.bean.User;

public interface UserService {
	//用户注册
	public void regist(User user);
    //查找用户
	public User find(Integer id);
	//查找用户
	public boolean find(String username);
    //用户登录
	public User login(String username,String password);
	//修改密码
	public void changePassword(Integer id,String password);
}
